package com.ch.ebusiness.repository.before;

import com.ch.ebusiness.entity.Goods;
import com.ch.ebusiness.entity.GoodsType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IndexRepository {
    public List<Goods> selectAdvertisementGoods();
    
    public List<GoodsType> selectGoodsType();
    
    public List<Goods> selectRecommendGoods(Integer tid);
    
    public List<Goods> selectLastedGoods(Integer tid);
    
    public List<Goods> selectAllGoods(Integer tid);
    
    public Goods selectAGoods(Integer id);
    
    public List<Goods> search(String mykey);
}
